﻿namespace ebc.componentbinder
{
    //TODO: Replace with Tuple<,>
    internal class OutputInputPinPair
    {
        public OutputPin Out;
        public InputPin In;

        public override bool Equals(System.Object obj)
        {
            if (obj == null) return false;

            OutputInputPinPair p = obj as OutputInputPinPair;
            if (p == null) return false;

            return this.Out.Equals(p.Out) &&
                   this.In.Equals(p.In);
        }
    }
}
